<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../img/asset-favico.ico">
    <title>预约详情</title>
    <link rel="stylesheet" href="../css/page-health-orderDetail.css"/>
    <script src="../plugins/vue/vue.js"></script>
    <script src="../plugins/vue/axios-0.18.0.js"></script>
    <script src="../plugins/healthmobile.js"></script>
    <script src="../js/config.js"></script>
</head>
<body data-spy="scroll" data-target="#myNavbar" data-offset="150">
<div id="app" class="app">
    <!-- 页面头部 -->
    <div class="top-header">
        <span class="f-left"><i class="icon-back" onclick="history.go(-1)"></i></span>
        <span class="center">传智健康</span>
        <span class="f-right"><i class="icon-more"></i></span>
    </div>
    <!-- 页面内容 -->
    <div class="contentBox">
        <div class="card">
            <div class="project-img">
                <img :src="imgUrl" width="100%" height="100%"/>
            </div>
            <div class="project-text">
                <h4 class="tit">{{setmeal.name}}</h4>
                <p class="subtit">{{setmeal.remark}}</p>
                <p class="keywords">
                    <span>{{setmeal.sex == '0' ? '性别不限' : setmeal.sex == '1' ? '男':'女'}}</span>
                    <span>{{setmeal.age}}</span>
                </p>
            </div>
            <!--<div class="project-know">
                <a href="orderNotice.html" class="link-page">
                    <i class="icon-ask-circle"><span class="path1"></span><span class="path2"></span></i>
                    <span class="word">预约须知</span>
                    <span class="arrow"><i class="icon-rit-arrow"></i></span>
                </a>
            </div>-->
        </div>
        <div class="table-listbox">
            <div class="box-title">
                <i class="icon-zhen"><span class="path1"></span><span class="path2"></span></i>
                <span>套餐详情</span>
            </div>
            <div class="box-table">
                <div class="table-title">
                    <div class="tit-item flex2">项目名称</div>
                    <div class="tit-item  flex3">项目内容</div>
                    <div class="tit-item  flex3">项目解读</div>
                </div>
                <div class="table-content">
                    <ul class="table-list">
                        <li class="table-item" v-for="checkgroup in setmeal.checkGroups">
                            <div class="item flex2">{{checkgroup.name}}</div>
                            <div class="item flex3">
                                <label v-for="checkitem in checkgroup.checkItems">
                                    {{checkitem.name}}
                                </label>
                            </div>
                            <div class="item flex3">{{checkgroup.remark}}</div>
                        </li>
                    </ul>
                </div>
                <div class="box-button">
                    <a @click="toOrderInfo()" class="order-btn">立即预约</a>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    var vue = new Vue({
        el: '#app',
        data: {
            imgUrl: "http://health.zlf520.cn/"+"3f796369-e3bf-4723-965f-d1f1a90a5a953.jpg",//套餐对应的图片链接
            setmeal: {"img":"3f796369-e3bf-4723-965f-d1f1a90a5a953.jpg","code":"0003","checkGroups":[{"code":"0006","sex":"0","remark":"肾功三项","helpCode":"NGSX","name":"肾功三项","id":10,"checkItems":[{"code":"0048","sex":"0","remark":"尿素","price":10,"name":"尿素","id":75,"age":"0-100"},{"code":"0049","sex":"0","remark":"肌酐","price":10,"name":"肌酐","id":76,"age":"0-100"},{"code":"0050","sex":"0","remark":"尿酸","price":10,"name":"尿酸","id":77,"age":"0-100"}]},{"code":"0007","sex":"0","remark":"血脂四项","helpCode":"XZSX","name":"血脂四项","id":11,"checkItems":[{"code":"0051","sex":"0","remark":"总胆固醇","price":10,"name":"总胆固醇","id":78,"age":"0-100"},{"code":"0052","sex":"0","remark":"甘油三酯","price":10,"name":"甘油三酯","id":79,"age":"0-100"},{"code":"0053","sex":"0","remark":"高密度脂蛋白胆固醇","price":10,"name":"高密度脂蛋白胆固醇","id":80,"age":"0-100"},{"code":"0054","sex":"0","remark":"低密度脂蛋白胆固醇","price":10,"name":"低密度脂蛋白胆固醇","id":81,"age":"0-100"}]},{"code":"0008","sex":"0","remark":"心肌酶三项","helpCode":"XJMSX","name":"心肌酶三项","id":12,"checkItems":[{"code":"0055","sex":"0","remark":"磷酸肌酸激酶","price":10,"name":"磷酸肌酸激酶","id":82,"age":"0-100"},{"code":"0056","sex":"0","remark":"磷酸肌酸激酶同工酶","price":10,"name":"磷酸肌酸激酶同工酶","id":83,"age":"0-100"},{"code":"0057","sex":"0","remark":"乳酸脱氢酶","price":10,"name":"乳酸脱氢酶","id":84,"age":"0-100"}]},{"code":"0009","sex":"0","remark":"甲功三项","helpCode":"JGSX","name":"甲功三项","id":13,"checkItems":[{"code":"0058","sex":"0","remark":"三碘甲状腺原氨酸","price":10,"name":"三碘甲状腺原氨酸","id":85,"age":"0-100"},{"code":"0059","sex":"0","remark":"甲状腺素","price":10,"name":"甲状腺素","id":86,"age":"0-100"},{"code":"0060","sex":"0","remark":"促甲状腺激素","price":10,"name":"促甲状腺激素","id":87,"age":"0-100"}]}],"sex":"0","remark":"本套餐主要针对常见肿瘤筛查，肝肾、颈动脉、脑血栓、颅内血流筛查，以及风湿、颈椎、骨密度检查","helpCode":"YGBM","price":1400,"name":"阳光爸妈升级肿瘤12项筛查（男女单人）体检套餐","id":14,"age":"55-100"}
        },
        methods: {
            toOrderInfo() {
                //获取请求路径中的URL参数
                var id = getUrlParam("id");
                //路径跳转 , 跳转到用户预约页面
                window.location.href = "orderInfo.html?id=" + id;
            }
        }
    });
</script>
</body>